package com.wuliu.system.mapper;

import java.util.List;
import com.wuliu.system.domain.BasEmployee;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * 员工资料Mapper接口
 * 
 * @author realue
 * @date 2023-10-24
 */
public interface BasEmployeeMapper extends BaseMapper<BasEmployee>
{
    /**
     * 查询员工资料
     * 
     * @param id 员工资料主键
     * @return 员工资料
     */
    public BasEmployee selectBasEmployeeById(Long id);

    /**
     * 查询员工资料列表
     * 
     * @param basEmployee 员工资料
     * @return 员工资料集合
     */
    public List<BasEmployee> selectBasEmployeeList(BasEmployee basEmployee);

    /**
     * 新增员工资料
     * 
     * @param basEmployee 员工资料
     * @return 结果
     */
    public int insertBasEmployee(BasEmployee basEmployee);

    /**
     * 修改员工资料
     * 
     * @param basEmployee 员工资料
     * @return 结果
     */
    public int updateBasEmployee(BasEmployee basEmployee);

    /**
     * 删除员工资料
     * 
     * @param id 员工资料主键
     * @return 结果
     */
    public int deleteBasEmployeeById(Long id);

    /**
     * 批量删除员工资料
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBasEmployeeByIds(Long[] ids);
}
